﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AcademicAudit_JoelShuman
{
	public class StudentIOFactory
	{
		public StudentFileIO GetIO(String ioType)
		{
			switch(ioType)
			{
				case "XML":
					return new XMLio();
				case "xml":
					return new XMLio();
				case "CSV":
					return new CSVio();
				case "csv":
					return new CSVio();
			}
			return null;
		}
	}
}
